package com.sxfq.loansupermarket.backsystem.modular.tcCenter.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.sxfq.loansupermarket.backsystem.modular.arrival.entity.CustomerInfo;
import com.sxfq.loansupermarket.backsystem.modular.arrival.entity.SearchCustomerInfo;
import com.sxfq.loansupermarket.backsystem.modular.tcCenter.entity.*;

import java.util.List;
import java.util.Map;

/**
 *
 * @author py
 * @Date 2018年4月19日23:15:54
 */
public interface IConsultantService {
    List<ConsultantInfo> selectPageListByQueryGetMap(Page<ConsultantInfo> page, SearchConsultantInfo info);

    int getQueryPagesCount(Page<ConsultantInfo> page, SearchConsultantInfo info);

    ConsultantInfo selectOneById(String bookingId);

    String selectDealStatus(String reservationsId,String operationTime);

    int update(ConsultantInfo info);

    int insert(ConsultantInfo info);

    int insert(CustomerInfo info);

    Map<String,Object> selectDealInfoByCheck(Map<String,Object> map) throws Exception;

    int repairArrears(String operationTimes,Double arrearsAmount,String reservationsId,String arrearsRemark,String tcName,String customerId,String arrearsOutpatientName);

    int repairArrearsYh(List<PaymentInfo> list);

    String insertDealNew(List<PaymentInfo> list);

    int deleteDealNew(String reservationsId,String operationTime);

    int backAllOrder(List<PaymentInfo> list);

    int updateDocAchievement(List<PaymentInfo> list);

    int updateDealDocAchievement(List<PaymentInfo> list);

    int backAllOrder1(List<PaymentInfo> list);

    int insertReturnVisit(CustomerInfo info);

    int insertReturnVisits(CustomerInfo info);

    int updateDiagnosisStatus(String reservationsId);

    int deleteOrder(String customerId,String reservationsId,String operationTime,String getTime);

    Map<String,Object> commitArrears(Map<String,Object> map);

    List<ConsultantInfo> selectDiagnosisById(String customerId);

    List<AddVisitedInfo> getRevisitRecordList(String reservationsId);

    List<ConsultantInfo> getConsultantInfoList(String reservationsId);

    List<ConsultantInfo> getConsultantInfoList2(String reservationsId);

    List<CustomerInfo> consultantExportt(SearchCustomerInfo searchInfo);
}